package com.github.caijinglong

import java.io.File
val path = "/Users/cai/Library/Application Support/Steam/steamapps/common/SlayTheSpire/SlayTheSpire.app/Contents/Resources/saves"
val zsSrc = "$path/IRONCLAD.autosave"
val dzSrc = "$path/THE_SILENT.autosave"
val jqrSrc = "$path/DEFECT.autosave"

fun main(args: Array<String>) {
//    val src = "/Users/cjl/Library/Application Support/Steam/steamapps/common/SlayTheSpire/SlayTheSpire.app/Contents/Resources/saves/THE_SILENT.autosave"
    val src = "/Users/cjl/Library/Application Support/Steam/steamapps/common/SlayTheSpire/SlayTheSpire.app/Contents/Resources/saves/IRONCLAD.autosave"
    val target = "./f/"

    File(src).copyTo(File(target, "src.txt"), true)
}